package top.easyblog.core.mq.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: frank.huang
 * @date: 2023-12-28 22:09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UrlMappingMessage {

    private UrlMappingMessageBean urlMapping;
    private Long timestamp;

    @Data
    public static class UrlMappingMessageBean {
        private String compressionCode;

        private String sourceUrl;

        private String tinyUrl;

        private String sourceUrlDigest;

        private String tinyUrlDigest;

        private String description;

        private Byte status;
    }
}
